import minio_manager # 把之前的minio_manager导入
def upload():
    minio_manager.upload_file('models', 'net.pth', 'model/net.pth')
def download():
    minio_manager.download_file('models', 'net.pth', 'model/net.pth')

if __name__ == '__main__':
    #upload()
    download()